package ui;

import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.widgets.Composite;

import Music_Playing.Music_Playing;
//2021.6.20 14:31修改
//提供了接口：鼠标在进度条上抬起时的响应事件
public class PlayProgressBar extends AbstractProgressBar {

	public PlayProgressBar(Composite parent, int style) {
		super(parent, style);
		
	}
	@Override
	public void mouseUp(MouseEvent e) {
		super.mouseUp(e);
		Music_Playing.fastForward(progress);
		//TODO 进度条的进度改变，改变音乐的播放进度
	}
}